ActionController::Routing::Routes.draw do |map|
  map.root :controller => :documents, :action => :new
  map.resources :documents
  map.resources :users
  map.signin 'signin', :controller => :sessions, :action => :new
  map.signout 'signout', :controller => :sessions, :action => :destroy
  map.submit_document 'submit_document', :controller => :documents, :action => :new
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end
